/*
 * Group 3, User Interface Programming II (vt11)
 * Pooya | Flora | Monica | Can
 */
package vical.undo;

import vical.model.Entry;

/**
 * The abstract class for undoable event about Entry.
 * 
 * @author Can
 */
public abstract class UndoableEntryEvent implements IUndoableEvent {

    protected Entry oldEntry;
    protected Entry newEntry;

    public UndoableEntryEvent(Entry oldEntry, Entry newEntry) {
        this.oldEntry = oldEntry;
        this.newEntry = newEntry;
    }

    public abstract void reexecute();

    public abstract void unexecute();
}
